package com.boot.system.mapper;

import com.boot.system.entity.SysDict;
import com.mybatisflex.annotation.UseDataSource;
import com.mybatisflex.core.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@UseDataSource("sqlite")
@Mapper
public interface DictMapper extends BaseMapper<SysDict> {

    /**
     * 通过编码查询字典信息
     * @param code 编码
     * @return 信息
     */
    SysDict selectByCode(@Param("code") String code);

}




